import Vue from 'vue'
import App from './App.vue'
//引入路由
import router from "@/routers"
//引入公共组件
import TypeNav from "@comp/TypeNav"
import Pagenation from "@comp/pagenation"
//引入Vuex
import store from "@/store"

Vue.config.productionTip = false
Vue.component("TypeNav",TypeNav)
Vue.component("Pagenation",Pagenation)

new Vue({
  render: h => h(App),
  router,
  store,
  created(){
    Vue.prototype.$bus=this
  }
}).$mount('#app')
